<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>ATOMISM: src/Base/muparser_v2_2_3/muParserError.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">ATOMISM
   
   </div>
   <div id="projectbrief">A C++ library and a python module to study the motion of undiviseable entities</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">src/Base/muparser_v2_2_3/muParserError.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="mu_parser_error_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">                 __________                                      </span>
<a name="l00003"></a>00003 <span class="comment">    _____   __ __\______   \_____  _______  ______  ____ _______ </span>
<a name="l00004"></a>00004 <span class="comment">   /     \ |  |  \|     ___/\__  \ \_  __ \/  ___/_/ __ \\_  __ \</span>
<a name="l00005"></a>00005 <span class="comment">  |  Y Y  \|  |  /|    |     / __ \_|  | \/\___ \ \  ___/ |  | \/</span>
<a name="l00006"></a>00006 <span class="comment">  |__|_|  /|____/ |____|    (____  /|__|  /____  &gt; \___  &gt;|__|   </span>
<a name="l00007"></a>00007 <span class="comment">        \/                       \/            \/      \/        </span>
<a name="l00008"></a>00008 <span class="comment">  Copyright (C) 2004-2011 Ingo Berg</span>
<a name="l00009"></a>00009 <span class="comment"></span>
<a name="l00010"></a>00010 <span class="comment">  Permission is hereby granted, free of charge, to any person obtaining a copy of this </span>
<a name="l00011"></a>00011 <span class="comment">  software and associated documentation files (the &quot;Software&quot;), to deal in the Software</span>
<a name="l00012"></a>00012 <span class="comment">  without restriction, including without limitation the rights to use, copy, modify, </span>
<a name="l00013"></a>00013 <span class="comment">  merge, publish, distribute, sublicense, and/or sell copies of the Software, and to </span>
<a name="l00014"></a>00014 <span class="comment">  permit persons to whom the Software is furnished to do so, subject to the following conditions:</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">  The above copyright notice and this permission notice shall be included in all copies or </span>
<a name="l00017"></a>00017 <span class="comment">  substantial portions of the Software.</span>
<a name="l00018"></a>00018 <span class="comment"></span>
<a name="l00019"></a>00019 <span class="comment">  THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT</span>
<a name="l00020"></a>00020 <span class="comment">  NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND </span>
<a name="l00021"></a>00021 <span class="comment">  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, </span>
<a name="l00022"></a>00022 <span class="comment">  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, </span>
<a name="l00023"></a>00023 <span class="comment">  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </span>
<a name="l00024"></a>00024 <span class="comment">*/</span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="preprocessor">#ifndef MU_PARSER_ERROR_H</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define MU_PARSER_ERROR_H</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;cassert&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;stdexcept&gt;</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &lt;sstream&gt;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &lt;memory&gt;</span>
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="preprocessor">#include &quot;<a class="code" href="mu_parser_def_8h.html" title="This file contains standard definitions used by the parser.">muParserDef.h</a>&quot;</span>
<a name="l00037"></a>00037 
<a name="l00042"></a>00042 <span class="keyword">namespace </span>mu
<a name="l00043"></a>00043 {
<a name="l00044"></a>00044 
<a name="l00046"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688a">00046</a> <span class="keyword">enum</span> <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688a" title="Error codes.">EErrorCodes</a>
<a name="l00047"></a>00047 {
<a name="l00048"></a>00048   <span class="comment">// Formula syntax errors</span>
<a name="l00049"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa7154513fd624589812610c190497bb0a">00049</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa7154513fd624589812610c190497bb0a" title="Unexpected binary operator found.">ecUNEXPECTED_OPERATOR</a>    = 0,  
<a name="l00050"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa2c29f854b65e380ae4fcb4d4e00aaa22">00050</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa2c29f854b65e380ae4fcb4d4e00aaa22" title="Token cant be identified.">ecUNASSIGNABLE_TOKEN</a>     = 1,  
<a name="l00051"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa3995c6500fc04f8b203817a5d3443219">00051</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa3995c6500fc04f8b203817a5d3443219" title="Unexpected end of formula. (Example: &quot;2+sin(&quot;)">ecUNEXPECTED_EOF</a>         = 2,  
<a name="l00052"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaa010c6130e7cf45723740cff95757737">00052</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaa010c6130e7cf45723740cff95757737" title="An unexpected comma has been found. (Example: &quot;1,23&quot;)">ecUNEXPECTED_ARG_SEP</a>     = 3,  
<a name="l00053"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa64b2880f566f8b44050142c94a0207fb">00053</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa64b2880f566f8b44050142c94a0207fb" title="An unexpected argument has been found.">ecUNEXPECTED_ARG</a>         = 4,  
<a name="l00054"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaf832f767e3f1c50a024da57221a2416f">00054</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaf832f767e3f1c50a024da57221a2416f" title="An unexpected value token has been found.">ecUNEXPECTED_VAL</a>         = 5,  
<a name="l00055"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa3de33dffb8946c3c4373aa3de3627759">00055</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa3de33dffb8946c3c4373aa3de3627759" title="An unexpected variable token has been found.">ecUNEXPECTED_VAR</a>         = 6,  
<a name="l00056"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa8c823a3bef7facd0d99cbfb4d2cd06e1">00056</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa8c823a3bef7facd0d99cbfb4d2cd06e1" title="Unexpected Parenthesis, opening or closing.">ecUNEXPECTED_PARENS</a>      = 7,  
<a name="l00057"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa8a98a29c35c9b7744f4987476b0c3ca9">00057</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa8a98a29c35c9b7744f4987476b0c3ca9" title="A string has been found at an inapropriate position.">ecUNEXPECTED_STR</a>         = 8,  
<a name="l00058"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa4446abbd60038e6a7f1d4aced202ad05">00058</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa4446abbd60038e6a7f1d4aced202ad05" title="A string function has been called with a different type of argument.">ecSTRING_EXPECTED</a>        = 9,  
<a name="l00059"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa4e872315cffbc12a39947b60f9367088">00059</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa4e872315cffbc12a39947b60f9367088" title="A numerical function has been called with a non value type of argument.">ecVAL_EXPECTED</a>           = 10, 
<a name="l00060"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa34679c30e955b4c9c04ed36db8a288d0">00060</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa34679c30e955b4c9c04ed36db8a288d0" title="Missing parens. (Example: &quot;3*sin(3&quot;)">ecMISSING_PARENS</a>         = 11, 
<a name="l00061"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa5132a541c023ecefe71e17fce886860e">00061</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa5132a541c023ecefe71e17fce886860e" title="Unexpected function found. (Example: &quot;sin(8)cos(9)&quot;)">ecUNEXPECTED_FUN</a>         = 12, 
<a name="l00062"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaaf787ce3edd65d5f086ad298e158a4bf">00062</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaaf787ce3edd65d5f086ad298e158a4bf" title="unterminated string constant. (Example: &quot;3*valueof(&quot;hello)")">ecUNTERMINATED_STRING</a>    = 13, 
<a name="l00063"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa4560405f6d8f871084a57e8e4633d496">00063</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa4560405f6d8f871084a57e8e4633d496" title="Too many function parameters.">ecTOO_MANY_PARAMS</a>        = 14, 
<a name="l00064"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aac7b48aee91620edca3bb0ccbaaf31772">00064</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aac7b48aee91620edca3bb0ccbaaf31772" title="Too few function parameters. (Example: &quot;ite(1&lt;2,2)&quot;)">ecTOO_FEW_PARAMS</a>         = 15, 
<a name="l00065"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa73e9671ee2b553affeb628a40ae745d1">00065</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa73e9671ee2b553affeb628a40ae745d1" title="binary operators may only be applied to value items of the same type">ecOPRT_TYPE_CONFLICT</a>     = 16, 
<a name="l00066"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa62f472030efcf7fda692e12a2da90338">00066</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa62f472030efcf7fda692e12a2da90338" title="result is a string">ecSTR_RESULT</a>             = 17, 
<a name="l00067"></a>00067 
<a name="l00068"></a>00068   <span class="comment">// Invalid Parser input Parameters</span>
<a name="l00069"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa125e953e3a9ab50e564cde8e981f56e9">00069</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa125e953e3a9ab50e564cde8e981f56e9" title="Invalid function, variable or constant name.">ecINVALID_NAME</a>           = 18, 
<a name="l00070"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa1fd2c3dfe53727a267d386f57ea37af1">00070</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa1fd2c3dfe53727a267d386f57ea37af1" title="Invalid binary operator identifier.">ecINVALID_BINOP_IDENT</a>    = 19, 
<a name="l00071"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa723bd3d892e5fe4817f8acd71636a59f">00071</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa723bd3d892e5fe4817f8acd71636a59f" title="Invalid function, variable or constant name.">ecINVALID_INFIX_IDENT</a>    = 20, 
<a name="l00072"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aad05cd43211abc3b9972ac2c9ffab2eed">00072</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aad05cd43211abc3b9972ac2c9ffab2eed" title="Invalid function, variable or constant name.">ecINVALID_POSTFIX_IDENT</a>  = 21, 
<a name="l00073"></a>00073 
<a name="l00074"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa34807cf30e3bb8ca4b348bd7742fa0a7">00074</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa34807cf30e3bb8ca4b348bd7742fa0a7" title="Trying to overload builtin operator.">ecBUILTIN_OVERLOAD</a>       = 22, 
<a name="l00075"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aab3f728ed3fbe1e49ff37fc78bff68355">00075</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aab3f728ed3fbe1e49ff37fc78bff68355" title="Invalid callback function pointer.">ecINVALID_FUN_PTR</a>        = 23, 
<a name="l00076"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa9d815bf7cb3eafa3887e0ed7c2eaf85f">00076</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa9d815bf7cb3eafa3887e0ed7c2eaf85f" title="Invalid variable pointer.">ecINVALID_VAR_PTR</a>        = 24, 
<a name="l00077"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aad4ce9d26ad46c057b12100b16d6d26ae">00077</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aad4ce9d26ad46c057b12100b16d6d26ae" title="The Expression is empty.">ecEMPTY_EXPRESSION</a>       = 25, 
<a name="l00078"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa40ffbd6629bb0ab70bbcbc5b15384274">00078</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa40ffbd6629bb0ab70bbcbc5b15384274" title="Name conflict.">ecNAME_CONFLICT</a>          = 26, 
<a name="l00079"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaad1847fc9b493d4cda79ea26ad09eb5a">00079</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaad1847fc9b493d4cda79ea26ad09eb5a" title="Invalid operator priority.">ecOPT_PRI</a>                = 27, 
<a name="l00080"></a>00080   <span class="comment">// </span>
<a name="l00081"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa971535886e930176428166ab78778619">00081</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa971535886e930176428166ab78778619" title="catch division by zero, sqrt(-1), log(0) (currently unused)">ecDOMAIN_ERROR</a>           = 28, 
<a name="l00082"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaff779580d171527466424d4ecf75a1a8">00082</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaff779580d171527466424d4ecf75a1a8" title="Division by zero (currently unused)">ecDIV_BY_ZERO</a>            = 29, 
<a name="l00083"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaece22de75a7be641a196123e7e9c322f">00083</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aaece22de75a7be641a196123e7e9c322f" title="Generic error.">ecGENERIC</a>                = 30, 
<a name="l00084"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa7f2b93cc8c3de8e45b1d7489f2693804">00084</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa7f2b93cc8c3de8e45b1d7489f2693804" title="Conflict with current locale.">ecLOCALE</a>                 = 31, 
<a name="l00085"></a>00085 
<a name="l00086"></a>00086   ecUNEXPECTED_CONDITIONAL = 32,
<a name="l00087"></a>00087   ecMISSING_ELSE_CLAUSE    = 33, 
<a name="l00088"></a>00088   ecMISPLACED_COLON        = 34,
<a name="l00089"></a>00089 
<a name="l00090"></a>00090   <span class="comment">// internal errors</span>
<a name="l00091"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa91b338cf5e35059bb452f783aeb88a5f">00091</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa91b338cf5e35059bb452f783aeb88a5f" title="Internal error of any kind.">ecINTERNAL_ERROR</a>         = 35, 
<a name="l00092"></a>00092   
<a name="l00093"></a>00093   <span class="comment">// The last two are special entries </span>
<a name="l00094"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aad0077acc7594040e4dd7fe5de229b455">00094</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aad0077acc7594040e4dd7fe5de229b455" title="This is no error code, It just stores just the total number of error codes.">ecCOUNT</a>,                      
<a name="l00095"></a><a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa49ba8c4fa03b5e822bc4573f84d44062">00095</a>   <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688aa49ba8c4fa03b5e822bc4573f84d44062" title="Undefined message, placeholder to detect unassigned error messages.">ecUNDEFINED</a>              = -1  
<a name="l00096"></a>00096 };
<a name="l00097"></a>00097 
<a name="l00098"></a>00098 <span class="comment">//---------------------------------------------------------------------------</span>
<a name="l00101"></a><a class="code" href="classmu_1_1_parser_error_msg.html">00101</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">ParserErrorMsg</a>
<a name="l00102"></a>00102 {
<a name="l00103"></a>00103 <span class="keyword">public</span>:
<a name="l00104"></a>00104     <span class="keyword">typedef</span> <a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">ParserErrorMsg</a> <a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">self_type</a>;
<a name="l00105"></a>00105 
<a name="l00106"></a>00106     <a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">ParserErrorMsg</a>&amp; <a class="code" href="classmu_1_1_parser_error_msg.html#a032500259ac54ce82fb08f696f07f2d7" title="Assignement operator is deactivated.">operator=</a>(<span class="keyword">const</span> <a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">ParserErrorMsg</a> &amp;);
<a name="l00107"></a>00107     <a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">ParserErrorMsg</a>(<span class="keyword">const</span> <a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">ParserErrorMsg</a>&amp;);
<a name="l00108"></a>00108     <a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">ParserErrorMsg</a>();
<a name="l00109"></a>00109 
<a name="l00110"></a>00110    ~<a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">ParserErrorMsg</a>();
<a name="l00111"></a>00111 
<a name="l00112"></a>00112     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">ParserErrorMsg</a>&amp; Instance();
<a name="l00113"></a>00113     <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> operator[](<span class="keywordtype">unsigned</span> a_iIdx) <span class="keyword">const</span>;
<a name="l00114"></a>00114 
<a name="l00115"></a>00115 <span class="keyword">private</span>:
<a name="l00116"></a>00116     std::vector&lt;string_type&gt;  m_vErrMsg;  
<a name="l00117"></a>00117     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">self_type</a> m_Instance;    
<a name="l00118"></a>00118 };
<a name="l00119"></a>00119 
<a name="l00120"></a>00120 <span class="comment">//---------------------------------------------------------------------------</span>
<a name="l00126"></a><a class="code" href="classmu_1_1_parser_error.html">00126</a> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classmu_1_1_parser_error.html" title="Error class of the parser.">ParserError</a>
<a name="l00127"></a>00127 {
<a name="l00128"></a>00128 <span class="keyword">private</span>:
<a name="l00129"></a>00129 
<a name="l00131"></a>00131     <span class="keywordtype">void</span> ReplaceSubString( <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> &amp;strSource, 
<a name="l00132"></a>00132                            <span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> &amp;strFind,
<a name="l00133"></a>00133                            <span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> &amp;strReplaceWith);
<a name="l00134"></a>00134     <span class="keywordtype">void</span> Reset();
<a name="l00135"></a>00135 
<a name="l00136"></a>00136 <span class="keyword">public</span>:
<a name="l00137"></a>00137 
<a name="l00138"></a>00138     <a class="code" href="classmu_1_1_parser_error.html#ad7f1fb7501d606308cf41c3eeab49348" title="Default constructor.">ParserError</a>();
<a name="l00139"></a>00139     <span class="keyword">explicit</span> <a class="code" href="classmu_1_1_parser_error.html#ad7f1fb7501d606308cf41c3eeab49348" title="Default constructor.">ParserError</a>(<a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688a" title="Error codes.">EErrorCodes</a> a_iErrc);
<a name="l00140"></a>00140     <span class="keyword">explicit</span> <a class="code" href="classmu_1_1_parser_error.html#ad7f1fb7501d606308cf41c3eeab49348" title="Default constructor.">ParserError</a>(<span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> &amp;sMsg);
<a name="l00141"></a>00141     <a class="code" href="classmu_1_1_parser_error.html#ad7f1fb7501d606308cf41c3eeab49348" title="Default constructor.">ParserError</a>( <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688a" title="Error codes.">EErrorCodes</a> a_iErrc,
<a name="l00142"></a>00142                  <span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> &amp;sTok,
<a name="l00143"></a>00143                  <span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> &amp;sFormula = <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a>(),
<a name="l00144"></a>00144                  <span class="keywordtype">int</span> a_iPos = -1);
<a name="l00145"></a>00145     <a class="code" href="classmu_1_1_parser_error.html#ad7f1fb7501d606308cf41c3eeab49348" title="Default constructor.">ParserError</a>( <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688a" title="Error codes.">EErrorCodes</a> a_iErrc, 
<a name="l00146"></a>00146                  <span class="keywordtype">int</span> a_iPos, 
<a name="l00147"></a>00147                  <span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> &amp;sTok);
<a name="l00148"></a>00148     <a class="code" href="classmu_1_1_parser_error.html#ad7f1fb7501d606308cf41c3eeab49348" title="Default constructor.">ParserError</a>( <span class="keyword">const</span> <a class="code" href="namespacemu.html#a81cc89a81a8872430ab1799b5848c5ca" title="The character type used by the parser.">char_type</a> *a_szMsg, 
<a name="l00149"></a>00149                  <span class="keywordtype">int</span> a_iPos = -1, 
<a name="l00150"></a>00150                  <span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> &amp;sTok = <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a>());
<a name="l00151"></a>00151     <a class="code" href="classmu_1_1_parser_error.html#ad7f1fb7501d606308cf41c3eeab49348" title="Default constructor.">ParserError</a>(<span class="keyword">const</span> <a class="code" href="classmu_1_1_parser_error.html" title="Error class of the parser.">ParserError</a> &amp;a_Obj);
<a name="l00152"></a>00152     <a class="code" href="classmu_1_1_parser_error.html" title="Error class of the parser.">ParserError</a>&amp; <a class="code" href="classmu_1_1_parser_error.html#ae2c28377fa08e425a5f3df2cfa221b33" title="Assignment operator.">operator=</a>(<span class="keyword">const</span> <a class="code" href="classmu_1_1_parser_error.html" title="Error class of the parser.">ParserError</a> &amp;a_Obj);
<a name="l00153"></a>00153    ~<a class="code" href="classmu_1_1_parser_error.html" title="Error class of the parser.">ParserError</a>();
<a name="l00154"></a>00154 
<a name="l00155"></a>00155     <span class="keywordtype">void</span> <a class="code" href="classmu_1_1_parser_error.html#a1b7b4b511525f13f728c9c2942983b19" title="Set the expression related to this error.">SetFormula</a>(<span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> &amp;a_strFormula);
<a name="l00156"></a>00156     <span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a>&amp; <a class="code" href="classmu_1_1_parser_error.html#a845ae0a3276f1f0326c6b9f4d946bcbf" title="gets the expression related tp this error.">GetExpr</a>() <span class="keyword">const</span>;
<a name="l00157"></a>00157     <span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a>&amp; <a class="code" href="classmu_1_1_parser_error.html#af03a4eb049e106be1dbc957ab4c90ee8" title="Returns the message string for this error.">GetMsg</a>() <span class="keyword">const</span>;
<a name="l00158"></a>00158     std::size_t <a class="code" href="classmu_1_1_parser_error.html#a38fa45df3312a8258b58fa0b25550618" title="Return the formula position related to the error.">GetPos</a>() <span class="keyword">const</span>;
<a name="l00159"></a>00159     <span class="keyword">const</span> <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a>&amp; <a class="code" href="classmu_1_1_parser_error.html#a3ddb4de710a8b0485e1b4060ccc7f08f" title="Return string related with this token (if available).">GetToken</a>() <span class="keyword">const</span>;
<a name="l00160"></a>00160     <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688a" title="Error codes.">EErrorCodes</a> <a class="code" href="classmu_1_1_parser_error.html#aad82b1aeb00b5e64a56956490febd2ec" title="Return the error code.">GetCode</a>() <span class="keyword">const</span>;
<a name="l00161"></a>00161 
<a name="l00162"></a>00162 <span class="keyword">private</span>:
<a name="l00163"></a>00163     <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> m_strMsg;     
<a name="l00164"></a>00164     <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> m_strFormula; 
<a name="l00165"></a>00165     <a class="code" href="namespacemu.html#ae9f8b44d9a97dd397180891e8390c3e9" title="The stringtype used by the parser.">string_type</a> m_strTok;     
<a name="l00166"></a>00166     <span class="keywordtype">int</span> m_iPos;               
<a name="l00167"></a>00167     <a class="code" href="namespacemu.html#acf304a3ef5c4625d0eac5953aa1b688a" title="Error codes.">EErrorCodes</a> m_iErrc;      
<a name="l00168"></a>00168     <span class="keyword">const</span> <a class="code" href="classmu_1_1_parser_error_msg.html" title="A class that handles the error messages.">ParserErrorMsg</a> &amp;m_ErrMsg;
<a name="l00169"></a>00169 };              
<a name="l00170"></a>00170 
<a name="l00171"></a>00171 } <span class="comment">// namespace mu</span>
<a name="l00172"></a>00172 
<a name="l00173"></a>00173 <span class="preprocessor">#endif</span>
<a name="l00174"></a>00174 <span class="preprocessor"></span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
